
<div id="sidebar">

    <div id="sidebar-ads">
    <img src="<?php bloginfo('template_url'); ?>/images/banners/300x250.jpg" alt="" width="300" height="250" />
    
    </div>

    <div id="sidebar-top"> 
    <?php 	/* Widgetized sidebar, if you have the plugin installed. */ 					if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar(1) ) : ?>
    <!--<h3><?php _e('Tags','arthemia');?></h3>
    <?php wp_tag_cloud(''); ?>-->	
    <?php endif; ?>
    </div>


	<div id="sidebar-middle" class="clearfloat"> 
        <div id="sidebar-left">
        <?php 	/* Widgetized sidebar, if you have the plugin installed. */ 					if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar(2) ) : ?> 		
        <h3>Categories</h3>
        <ul>
        <?php 
            $args=array(
          'orderby' => 'name',
          'order' => 'ASC'
          );
        
            $categories=get_categories($args);
            
            foreach($categories as $category) { 
            echo '<li><a href="' . get_category_link( $category->term_id ) . '" title="' . sprintf( __( "View all posts in %s" ), $category->name ) . '" ' . '>' . $category->name.'</a></li>'; 
            } 
        
        ?>
        </ul>
        <?php endif; ?> 
        </div>  

        <div id="sidebar-right">
        <?php 	/* Widgetized sidebar, if you have the plugin installed. */ 					if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar(3) ) : ?> 		
        
        <h3>Blogroll</h3>
        <ul>
        <li><a href="http://colorlabsproject.com/themes/arthemia-premium/">Arthemia Premium</a></li>
        <li><a href="http://colorlabsproject.com/">Colorlabs Project</a></li>
        <li><a href="http://michaelhutagalung.com/">Michael Hutagalung</a></li>
        <li><a href="http://www.wordpress.org/">WordPress.org</a></li>
        <li><a href="http://codex.wordpress.org/">WordPress Codex</a></li>
        <li><a href="http://www.wordpress.com/">WordPress.com</a></li>
        </ul>
        <?php endif; ?>
        </div> 

	</div>

    <div id="sidebar-bottom"> 
    <?php 	/* Widgetized sidebar, if you have the plugin installed. */ 					if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar(4) ) : ?> 		
    
    
    <?php endif; ?> 
    </div>   

</div>
